

import asyncio
from llama_index.core.tools.tool_spec.base

async def test():

    browser = await PlaywrightToolSpec.create_async_playwright_browser(
        headless=False
    )
    playwright_tool = PlaywrightToolSpec.from_async_browser(browser)

    await playwright_tool.navigate_to("https://playwright.dev/python/docs/intro")

asyncio.